<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{$seo_title}</title>
<style>
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "微软雅黑", cursive;
  font-size: 16px;
}

.wrap-404 {
  overflow: hidden;
  padding: 2rem 1rem;
}

.label {
  text-align: center;
  font-size: .85em;
}

.numbers {
  padding: 2rem 0 0;
}

.number {
  position: relative;
  display: inline-block;
  width: 150px;
  -webkit-transform: translateX(60%);
          transform: translateX(60%);
}

.four {
  position: relative;
  width: 30px;
  height: 150px;
  border: 1px solid #007bff;
}
.four::before, .four::after {
  content: '';
  position: absolute;
  border: 1px solid #007bff;
}
.four::before {
  top: 50%;
  right: -1rem;
  width: 120px;
  height: 30px;
}
.four::after {
  top: 0;
  left: -60px;
  width: 30px;
  height: 120px;
}

.zero {
  position: relative;
  width: 30px;
  height: 150px;
  border: 1px solid #007bff;
}
.zero span {
  position: absolute;
  top: 0;
  left: -60px;
  width: 30px;
  height: 150px;
  border: 1px solid #007bff;
}
.zero::before, .zero::after {
  content: '';
  position: absolute;
  border: 1px solid #007bff;
}
.zero::before {
  top: 1rem;
  right: -1rem;
  width: 120px;
  height: 30px;
}
.zero::after {
  bottom: 1rem;
  right: -1rem;
  width: 120px;
  height: 30px;
}

.text {
  position: relative;
  padding-top: 6rem;
  text-align: center;
  font-size: 1.125em;
}
.text a {
  color: #000;
}
.text::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 6rem;
  height: 1px;
  background-image: repeating-linear-gradient(to left, rgba(0, 0, 0, 0.35) 0, rgba(0, 0, 0, 0.35) 0.5rem, transparent 0.5rem, transparent 1rem);
}

.sleep-walker {
  position: relative;
  height: 1px;
  margin: 5rem 0 3rem;
  background-image: repeating-linear-gradient(to left, transparent 0, transparent 0.12rem, rgba(0, 0, 0, 0.15) 0.125rem, rgba(0, 0, 0, 0.15) 0.25rem);
}

.man {
  position: absolute;
  top: -1.4rem;
  left: 0;
  width: 1px;
  height: 2rem;
  opacity: .6;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-animation: walking 50s linear infinite;
          animation: walking 50s linear infinite;
}
.man .head {
  position: relative;
  width: .5rem;
  height: .5rem;
  -webkit-transform: translateX(-1px);
          transform: translateX(-1px);
  border: 1px solid #000;
  border-radius: 50%;
}
.man .head::before {
  content: '';
  position: absolute;
  top: .28rem;
  left: 0;
  width: 170%;
  height: 1px;
  background: #000;
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transform: rotate(-25deg);
          transform: rotate(-25deg);
}
.man .torso {
  position: relative;
  width: 1px;
  height: 50%;
  margin: 0 auto;
  background: #000;
}
.man .torso .arm-a, .man .torso .arm-b {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 85%;
  -webkit-transform-origin: top center;
          transform-origin: top center;
  background: #000;
}
.man .torso .arm-a::before, .man .torso .arm-b::before {
  content: '';
  position: absolute;
  bottom: -.1rem;
  left: 0rem;
  width: .18rem;
  height: .18rem;
  border: 1px solid #000;
  border-radius: 50%;
}
.man .torso .arm-a {
  -webkit-transform: rotate(-20deg);
          transform: rotate(-20deg);
  -webkit-animation: walk1 1.3s linear alternate infinite;
          animation: walk1 1.3s linear alternate infinite;
}
.man .torso .arm-b {
  -webkit-transform: rotate(20deg);
          transform: rotate(20deg);
  -webkit-animation: walk2 1.3s linear alternate infinite;
          animation: walk2 1.3s linear alternate infinite;
}
.man .legs {
  position: relative;
  width: 1px;
  height: 50%;
  margin: 0 auto;
}
.man .legs .leg-a, .man .legs .leg-b {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform-origin: top center;
          transform-origin: top center;
  background: #000;
}
.man .legs .leg-a::before, .man .legs .leg-b::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 1px;
  background: #000;
}
.man .legs .leg-a {
  -webkit-transform: rotate(-20deg);
          transform: rotate(-20deg);
  -webkit-animation: walk1 1.3s linear alternate infinite;
          animation: walk1 1.3s linear alternate infinite;
}
.man .legs .leg-b {
  -webkit-transform: rotate(20deg);
          transform: rotate(20deg);
  -webkit-animation: walk2 1.3s linear alternate infinite;
          animation: walk2 1.3s linear alternate infinite;
}

@-webkit-keyframes walking {
  0% {
    left: 0;
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  49.9% {
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  50% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 100%;
  }
  100% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 0;
  }
}

@keyframes walking {
  0% {
    left: 0;
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  49.9% {
    -webkit-transform: scale(0.5) rotateY(0deg);
            transform: scale(0.5) rotateY(0deg);
  }
  50% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 100%;
  }
  100% {
    -webkit-transform: scale(0.5) rotateY(180deg);
            transform: scale(0.5) rotateY(180deg);
    left: 0;
  }
}
@-webkit-keyframes walk1 {
  0% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
  50% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
}
@keyframes walk1 {
  0% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
  50% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
}
@-webkit-keyframes walk2 {
  0% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
  50% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
}
@keyframes walk2 {
  0% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
  50% {
    -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
  }
}
@media all and (max-width: 768px) {
  header h1 {
    margin-bottom: 3rem;
  }

  .man {
    -webkit-animation-duration: 30s;
            animation-duration: 30s;
  }
}
@media all and (max-width: 768px) {
  .numbers {
    display: flex;
    justify-content: center;
  }

  .number {
    width: 90px;
    -webkit-transform: translateX(36%) scale(0.5);
            transform: translateX(36%) scale(0.5);
  }
}
</style>
</head>

<body>
<div class="wrap-404">
  <div class="label">未找到页面</div>
  <div class="numbers">
    <div class="number">
      <div class="four"></div>
    </div>
    <div class="number">
      <div class="zero"><span></span></div>
    </div>
    <div class="number">
      <div class="four last"></div>
    </div>
  </div>
  <div class="text"> 
    <p>看来你迷路了...</p>
    <p>让我们带你去 <a href="http://<?php echo $_SERVER['SERVER_NAME'];?>">网站首页</a>.</p>
  </div>
  <div class="sleep-walker">
    <div class="man">
      <div class="head"></div>
      <div class="torso">
        <div class="arm-a"></div>
        <div class="arm-b"></div>
      </div>
      <div class="legs">
        <div class="leg-a"></div>
        <div class="leg-b"></div>
      </div>
    </div>
  </div>
</div>
</body>
</html>